package my.algo.data;

/**
 * @author fengbo
 * @date 2018/8/7
 */
public interface Map<K extends Comparable<K>, V> {

    void put(K key, V value);

    V get(K key);

    void delete(K key);

    boolean contains(K key);

    boolean isEmpty();

    int size();

    List<K> keys();
}
